let obj = {
    name : 'admin',
    pwd  :'123456',
    age  : 20
}

// for (const key in obj) {
//     console.log(key,obj[key])
// }

console.log(obj.name)
console.log(obj['name'])



//js 对象其实是属性的集合



